But what happens if a client running on a big endian IBM PowerPC attempts to send a32-bit integer to a little endian Intel x86? 但是,如果一个运行在高位优先的IBMPowerPC上的客户端发送一个32位的整数到一个低位优先的Intelx86,那将会发生什么呢?
For instance, PNG documents ( a competitor to TIFF) are always big endian. 例如,PNG文档(TIFF的一个竞争者)始终使用大尾数法。
Byte order: big endian or little endian 字节次序:大尾数法还是小尾数法
Note: Depending on the platform and whether the mem structure is big endian or little endian, you may need to swap the order in which bytes are read. 注意:根据不同平台,以及men结构是大端字节序还是小端字节序,您可能需要交换读取字节的顺序。
The header files found in/ usr/ src/ linux/ include/ linux/ byteorder/ provide macros for converting between big and little endian representations. usr/src/linux/include/linux/byteorder/中的header文件提供的宏可以实现大端字节和小端字节表示之间的转换。